import { createRouter, createWebHistory } from 'vue-router'
import TemplateProcessPage from '../views/TemplateProcessPage.vue'
import HomePage from '../views/HomePage.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: HomePage
  },
  {
    path: '/tools/html-extract',
    name: 'HTMLExtract',
    component: () => import('../views/HTMLExtractPage.vue')
  },
  {
    path: '/tools/template-process',
    name: 'TemplateProcess',
    component: TemplateProcessPage
  },
  {
    path: '/departments',
    name: 'Departments',
    component: () => import('../views/DepartmentsPage.vue')
  },
  {
    path: '/doctors',
    name: 'Doctors',
    component: () => import('../views/DoctorsPage.vue')
  },
  {
    path: '/guide',
    name: 'Guide',
    component: () => import('../views/GuidePage.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('../views/AboutPage.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 